from .settings import *

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': ':memory:'
    }
}

TEST_RUNNER = 'django.test.runner.DiscoverRunner'

# 确保包含所有必要的应用模块
INSTALLED_APPS += [
    'users',
    'products',
    'warehouse',
    'delivery',
    'trace'
]